var server = require('./server');
var router = require('./router');
var exec = require("child_process").exec;

exec('soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard');
server.start(router.route);
